import axios from 'axios'
import {request} from '../request'

export const getallcat =() => {
    return axios.all
        ([
            request({
            url:'koujing/jinji/catalog'
            }),
            request({
            url:'koujing/yuqing/catalog'
            })
        ])
} 


export const getinitcontent = () => {
    return axios.all
    ([
        request({
        url:`koujing/yuqing/intro/1`
        }),
        request({
        url:`koujing/yuqing/content/1`
        })
    ])
} 